﻿@code {

    protected override void OnInitialized()
    {
        var uri = new Uri(Navigation.Uri);
        var returnUrl = uri.PathAndQuery.TrimStart('/');
        Navigation.NavigateTo($"/pages/authentication/login?returnUrl={returnUrl}", true);
     
    }

}